<!--新建作者的页面模板-->
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="layouts::header"></head>

<body class="bg">


<nav th:replace="layouts::navbar"></nav>

<div class="container">
    <form th:action="@{/authors/save}" th:object="${author}" method="POST">
        <input type="text" placeholder="姓名" th:field="${author.name}">
        <textarea type="text" placeholder="输入作者描述" th:field="${author.description}"></textarea>
        <button type="submit">新建作者</button>
    </form>


</div>
</body>
</html>




